import type { RouteConfig } from "@react-router/dev/routes";

import {index,layout,route} from '@react-router/dev/routes' 

export default [
   layout('layouts/sidebar.tsx', [
      index('routes/home.tsx'),
      route('contacts/:contactId', 'routes/contacts.tsx'),
   ]),
   route('about', 'routes/about.tsx'),
   route('contacts/:contactId/edit','routes/edit-contact.tsx')
] satisfies RouteConfig;
